﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace DAL
{
    public class HangHoaDAL
    {
        public HangHoaDAL() { }
        public DataTable DanhSachHH() 
        {
            string sql = "SELECT MaHH[Mã hàng],TenHH[Tên hàng],DVT[Đơn vị tính],DonGia[Đơn giá] FROM HangHoa";
            DataTable tb = new DataTable();
            Conect cn = new Conect();
            tb=cn.LoadTable(sql);
            return tb;
        }
    }
}
